package com.common.common.option;

/**
 * 查询连接符号
 *
 * @author liujun
 * @date 2024/10/10
 */
public enum QueryConnector {

    AND("AND", "并且"),
    OR("OR", "或者"),
    SUFFIX_CONNECTOR("@@", "QueryCondition.queryKey列名和查询方式连接符号"),
    Q_VALUE_SEPARATOR("@^", "QueryCondition.queryValue为集合时,join的分隔符");

    private String val;
    private String desc;

    QueryConnector(String val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    public String val() {
        return this.val;
    }

    public String desc() {
        return this.desc;
    }
}
